package com.mumuso.mumusoitem.service.lmpl;

import com.mumuso.mumusoitem.mapper.dGoodsCollectionRoleMapper;
import com.mumuso.mumusoitem.pojo.dGoodsCollectionItemRole;
import com.mumuso.mumusoitem.service.dGoodsCollectionRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class dGoodsCollectionRoleServicelmpl implements dGoodsCollectionRoleService {

    @Autowired
    private dGoodsCollectionRoleMapper dGoodsCollectionRoleMapper;

    /**
     * 根据制单编号获取该制单人权限信息
     * @param staffId
     * @return
     */
    @Override
    public List<dGoodsCollectionItemRole> selectPerInfoByStaffId(String staffId) {
        return dGoodsCollectionRoleMapper.selectPerInfoByStaffId(staffId);
    }
}
